package com.rk.jarjuggler.service;

import com.rk.jarjuggler.model.DirNode;
import com.rk.jarjuggler.model.LibNode;

public class FakeSource {
    DirNode root;

    public FakeSource() {
        root = new DirNode();
        DirNode asm = new DirNode(root, "ASM", "http://localhost/asm");
        DirNode asm2 = new DirNode(asm, "ASM2", "http://localhost/asm/asm");
        DirNode asm14 = new DirNode(asm2, "1.4", "http://localhost/asm/asm/1.4");
        new LibNode(asm14, "ASM 1.4", "http://localhost/asm/asm/1.4/asm-1.4.jar");
        new DirNode(root, "logkit", "http://localhost/logkit");
    }

    public DirNode getRoot() {
        return root;
    }
}
